package wookee.basic;

public class J01_Department {

	public static void main(String[] args) {
		// 1. 변수 선언 및 초기화
		String departname1, departname2, departname3, departname4;
		String departtel1, departtel2, departtel3, departtel4;
		String departloc1, departloc2, departloc3, departloc4;
		String departchief1, departchief2, departchief3, departchief4;
		
		departname1 = "컴퓨터공학";
		departtel1 = "123-4567-8901";
		departloc1 = "E동 2층";
		departchief1 = "504";
		
		departname2 = "의상디자인";
		departtel2 = "234-5678-9012";
		departloc2 = "A동 1층";
		departchief2 = "301";
		
		departname3 = "식품영양";
		departtel3 = "345-6789-0123";
		departloc3 = "F동 8층";
		departchief3 = "556";
		
		departname4 = "철학";
		departtel4 = "456-7890-1234";
		departloc4 = "Z동 25층";
		departchief4 = "504";
		
		// 2. 처리
		// 3. 결과 출력
		
		System.out.println("학과명\t\t전화번호\t사무실위치\t학과장");
		System.out.println("--------------------------------------------------------");
		System.out.print( departname1 );
		System.out.print( "\t" + departtel1 );
		System.out.print( "\t" + departloc1 );
		System.out.println( "\t\t" + departchief1);
		
		System.out.print( departname2 );
		System.out.print( "\t" + departtel2 );
		System.out.print( "\t" + departloc2 );
		System.out.println( "\t\t" + departchief2);
		
		System.out.print( departname3 );
		System.out.print( "\t" + departtel3 );
		System.out.print( "\t" + departloc3 );
		System.out.println( "\t\t" + departchief3);
		
		System.out.print( departname4 );
		System.out.print( "\t\t" + departtel4 );
		System.out.print( "\t" + departloc4 );
		System.out.println( "\t" + departchief4);
		

	}

}
